Introduction

Highly customizable Chart.js plugin that displays labels on data for any type of charts.

COMPATIBILITY NOTE

Requires Chart.js 2.7.0 or later.

IMPORTANT

This plugin doesn't provide any public API (except the plugin options), thus you should not access private properties or methods starting with $ or _, including the $datalabels attached property. The implementation can change at any version and could break your production build without notice in upcoming minor/patch releases if any of your code relies on it.

Table of Contents

License

chartjs-plugin-datalabels is available under the MIT license.